package com.qiall.omsserver.data.mapper;

import com.qiall.omsserver.data.entity.ServerInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface ServerInfoMapper {

     void insert(ServerInfo serverInfo);
     void update(ServerInfo serverInfo);
     List<ServerInfo> selectAll();
     ServerInfo select(@Param("id")int id);
     void delete(@Param("id")int id);
}
